package org.numb.web.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:system-config.properties")
@ConfigurationProperties(prefix = "system")
@Getter
@Setter
public class SystemConfiguration {

    private InitConfiguration init = new InitConfiguration();

    @Getter
    @Setter
    public static class InitConfiguration {

        private boolean dbAutoRegisterEnable = false;
    }
}
